{% extends 'blank.html.twig' %}

{% block title %}Administracija{% endblock %}

{% block content %}
    {% if error %}<div>{{ error.message|trans }}</div>{% endif %}
     
    <form action="{{ path('login_check') }}" method="post">
        <label for="username">Email:</label>
        <input id="username" type="text" name="_username">
        <label for="password">{{ 'Password'|trans }}:</label>
        <input id="password" type="password" name="_password">
        <input type="submit" name="login" value="{{ 'Login'|trans }}">
    </form>
{% endblock %}